package com.share.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.device.domain.Region;

import java.util.List;

public interface RegionMapper extends BaseMapper<Region> {

    /**
     * 根据上级code获取下级数据列表
     * @param parentCode
     * @return
     */
    List<Region> treeSelect(String parentCode);
}
